/**
 * @Author: 赵京涛 z19472333952022@163.com
 * @Date: 2025-09-12 15:56:51
 * @LastEditors: 赵京涛 z19472333952022@163.com
 * @LastEditTime: 2025-09-12 15:56:51
 * @projectName: HeBeiHaiYangData
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki
 */
import { createApp } from "vue";
import Cookies from "js-cookie";
// element-plus
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import "element-plus/theme-chalk/dark/css-vars.css";
import locale from "element-plus/es/locale/lang/zh-cn";
// 公共样式
import "@/assets/styles/index.scss";
import App from "./App.vue";
import router from "@/router";
import store from "@/store";

const app = createApp(App);
app.use<unknown[]>(ElementPlus as never, {
  locale: locale,
  size: Cookies.get("size") || "default",
});
app.use(router);
app.use(store);
app.mount("#app");
